package com.firefly.admin.workbench.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.firefly.admin.system.entity.FySystemMenu;
import com.firefly.admin.system.entity.FySystemOrganization;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

@ApiModel(value = "FySystemShortcutMenu", description = "系统快捷菜单")
@Data
@ToString
@EqualsAndHashCode
public class FySystemShortcutMenu {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "快捷菜单ID")
    private Long shortcutMenuId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "菜单ID")
    private Long menuId;

    @ApiModelProperty(value = "菜单颜色")
    private String menuColor;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "菜单名称")
    @TableField(exist = false)
    private String menuName;

    @ApiModelProperty(value = "菜单路径")
    @TableField(exist = false)
    private String menuPath;

    @ApiModelProperty(value = "菜单图标")
    @TableField(exist = false)
    private String menuIcon;
}
